package com.cloudlead.commonData.entity;

import com.cloudlead.common.lang.persistence.AbstractIdEntity;

import com.cloudlead.common.persistence.UpdateCheck;

import javax.validation.constraints.Size;
import com.cloudlead.common.lang.annotation.Label;
import java.lang.String;
import javax.validation.constraints.NotNull;

/**
 * EBaseGps is a Querydsl bean type
 */
@Label("gps信息表")
public class EBaseGps extends AbstractIdEntity<String> {

    private static final long serialVersionUID =13151134492584L;    
    @Label("车队公司ID")
    @Size(max=24)
    private String fleetId;

    @Label("gps名称")
    @Size(max=45)
    private String gpsName;

    @Label("gps类型")
    @Size(max=45)
    private String gpsType;

    @NotNull(groups={UpdateCheck.class})
    @Label("id")
    @Size(max=24)
    private String id;

    @Label("密码")
    @Size(max=45)
    private String passWord;

    @Label("gps路径")
    @Size(max=500)
    private String url;

    @Label("用户名")
    @Size(max=45)
    private String userName;

    public String getFleetId() {
        return fleetId;
    }

    public void setFleetId(String fleetId) {
        this.fleetId = fleetId;
    }

    public String getGpsName() {
        return gpsName;
    }

    public void setGpsName(String gpsName) {
        this.gpsName = gpsName;
    }

    public String getGpsType() {
        return gpsType;
    }

    public void setGpsType(String gpsType) {
        this.gpsType = gpsType;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getPassWord() {
        return passWord;
    }

    public void setPassWord(String passWord) {
        this.passWord = passWord;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String toString() {
         return String.format("EBaseGps { fleetId : %s,gpsName : %s,gpsType : %s,id : %s,passWord : %s,url : %s,userName : %s }",fleetId,gpsName,gpsType,id,passWord,url,userName);
    }

}

